﻿/*********************************************************************
 *
 *                             NOTICE
 *               COPYRIGHT (c) 2012 Panoscopix Software, Inc.
 *                UNPUBLISHED - ALL RIGHTS RESERVED
 * 
 *      This program is confidential, proprietary, and a trade
 *   secret of Panoscopix Software, Inc. The receipt or possession of
 *     this program does not convey any rights to reproduce or
 *      disclose its contents, or to manufacture, use, or sell
 *       anything that it may describe, in whole or in part, 
 *   without the specific written consent of Panoscopix Software, Inc.
 *
 * Test Case for "root-touch".
 * 
 *******************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FileSystem.Test.TestCases
{
    class TestRootTouch : TestCaseABC
    {
        protected override int    getLength() 		    { return data.GetLength(0); }
	    protected override String getLine(int i)		{ return data[i, 0]; }
	    protected override String getExpected(int i)	{ return data[i, 1]; }

	    private static String filename1 = "file1";
        private static String filename2 = "file2";
        //input data, and expected output
	    private String[,] data = new String[,] {
			    {"root-touch " + filename1,		"successful"},
			    {"root-touch " + filename1,		"[ERR]"},
			    {"root-touch " + filename2,		"successful"},
			    {"root-touch " + filename2,		"[ERR]"},

			    //clean-up
//    			{"rm " + filename1,			"successful"},	//Clean up file.
//    			{"rm " + filename2,			"successful"},	//Clean up file.
			    };
    }
}
